<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增【请填写功能名称】')" />
    <th:block th:include="include :: datetimepicker-css" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-passage-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员ID：</label>
                <div class="col-sm-8">
                    <input name="workerId" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员姓名：</label>
                <div class="col-sm-8">
                    <input name="workName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员身份证号码：</label>
                <div class="col-sm-8">
                    <input name="workerPassport" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">人员通行时间：</label>
                <div class="col-sm-8">
                    <div class="input-group date">
                        <input name="passageDate" class="form-control" placeholder="yyyy-MM-dd" type="text">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">使用剂量计编码：</label>
                <div class="col-sm-8">
                    <input name="DOSIMETER" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">RWP任务简码：</label>
                <div class="col-sm-8">
                    <input name="TASK" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">通行区域：</label>
                <div class="col-sm-8">
                    <input name="passageZone" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">RWP任务码：</label>
                <div class="col-sm-8">
                    <input name="RWP" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">RWP任务名称：</label>
                <div class="col-sm-8">
                    <input name="rwpName" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量计值：</label>
                <div class="col-sm-8">
                    <input name="doseValue" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">最大剂量率：</label>
                <div class="col-sm-8">
                    <input name="maxRate" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">计量报警阈值：</label>
                <div class="col-sm-8">
                    <input name="doseThAlarm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量预警阈值：</label>
                <div class="col-sm-8">
                    <input name="doseThWarning" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子计量报警阈值：</label>
                <div class="col-sm-8">
                    <input name="ndoseThAlarm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子计量预警阈值：</label>
                <div class="col-sm-8">
                    <input name="ndoseThWarning" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量率报警阈值：</label>
                <div class="col-sm-8">
                    <input name="rateThAlarm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">剂量率预警阈值：</label>
                <div class="col-sm-8">
                    <input name="reateThWarning" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子剂量率报警阈值：</label>
                <div class="col-sm-8">
                    <input name="nrateThAlarm" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">中子剂量率预警阈值：</label>
                <div class="col-sm-8">
                    <input name="nreateThWarning" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">通行方向：</label>
                <div class="col-sm-8">
                    <input name="passageDirection" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">通行方向：</label>
                <div class="col-sm-8">
                    <input name="DURATION" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <th:block th:include="include :: datetimepicker-js" />
    <script th:inline="javascript">
        var prefix = ctx + "system/passage"
        $("#form-passage-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-passage-add').serialize());
            }
        }

        $("input[name='passageDate']").datetimepicker({
            format: "yyyy-mm-dd",
            minView: "month",
            autoclose: true
        });
    </script>
</body>
</html>